define
(    
    function()
    {        
        var DocumentChangeResponse = function(documentId, result, error)
        {
            this.toJSON = function()
            {
                return {documentId: documentId, result: result, error: error};
            };
        };

        DocumentChangeResponse.prototype.id = DocumentChangeResponse.id = "DocumentChangeResponse";
        return DocumentChangeResponse;
    }
);